/**
 *销售公司维护
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 获取列表
export const getSaleInfo = params => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/dealerInfo/getSaleInfo`, {params});
// 删除
export const deleteRole = (id) => axios.delete(`${SERVER.DMSCLOUD_BASEDATA}/basedata/roles/deleteById/${id}`, {id: Number(id)} );
//编辑保存
export const putSaleInfo = params => axios.put(`${SERVER.DMSCLOUD_BASEDATA}/dealerInfo/saleInfo`, params);


